package com.itheima.POJO;

import java.io.Serializable;

/**
 * 疾病库
 */
public class Ill implements Serializable {
    private Integer id;//id
    private String code;//编号
    private String nameOfDisease;//疾病名称
    private String type;//异常类型
    private String occupational;//是否职业病
    private String gender;//适用性别
    private String visitingTimeLimit;//就诊期限
    private String visitingDepartment;//就诊科室
    private String warningLevel;//预警等级
    private String otherName;//其他名称
    private String medicalExplanation;//医学解释
    private String commonCauses;//常见原因
    private String advice;//建议

    public Ill() {
    }

    public Ill(Integer id, String code, String nameOfDisease, String type, String occupational, String gender, String visitingTimeLimit,
               String visitingDepartment, String warningLevel, String otherName, String medicalExplanation, String commonCauses, String advice) {
        this.id = id;
        this.code = code;
        this.nameOfDisease = nameOfDisease;
        this.type = type;
        this.occupational = occupational;
        this.gender = gender;
        this.visitingTimeLimit = visitingTimeLimit;
        this.visitingDepartment = visitingDepartment;
        this.warningLevel = warningLevel;
        this.otherName = otherName;
        this.medicalExplanation = medicalExplanation;
        this.commonCauses = commonCauses;
        this.advice = advice;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getNameOfDisease() {
        return nameOfDisease;
    }

    public void setNameOfDisease(String nameOfDisease) {
        this.nameOfDisease = nameOfDisease;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOccupational() {
        return occupational;
    }

    public void setOccupational(String occupational) {
        this.occupational = occupational;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getVisitingTimeLimit() {
        return visitingTimeLimit;
    }

    public void setVisitingTimeLimit(String visitingTimeLimit) {
        this.visitingTimeLimit = visitingTimeLimit;
    }

    public String getVisitingDepartment() {
        return visitingDepartment;
    }

    public void setVisitingDepartment(String visitingDepartment) {
        this.visitingDepartment = visitingDepartment;
    }

    public String getWarningLevel() {
        return warningLevel;
    }

    public void setWarningLevel(String warningLevel) {
        this.warningLevel = warningLevel;
    }

    public String getOtherName() {
        return otherName;
    }

    public void setOtherName(String otherName) {
        this.otherName = otherName;
    }

    public String getMedicalExplanation() {
        return medicalExplanation;
    }

    public void setMedicalExplanation(String medicalExplanation) {
        this.medicalExplanation = medicalExplanation;
    }

    public String getCommonCauses() {
        return commonCauses;
    }

    public void setCommonCauses(String commonCauses) {
        this.commonCauses = commonCauses;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    @Override
    public String toString() {
        return "Ill{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", nameOfDisease='" + nameOfDisease + '\'' +
                ", type='" + type + '\'' +
                ", occupational='" + occupational + '\'' +
                ", gender='" + gender + '\'' +
                ", visitingTimeLimit='" + visitingTimeLimit + '\'' +
                ", visitingDepartment='" + visitingDepartment + '\'' +
                ", warningLevel='" + warningLevel + '\'' +
                ", otherName='" + otherName + '\'' +
                ", medicalExplanation='" + medicalExplanation + '\'' +
                ", commonCauses='" + commonCauses + '\'' +
                ", advice='" + advice + '\'' +
                '}';
    }
}
